<?php
		session_start(); 
		include "function/libfunc.php";
 			if (!empty($_SESSION['username']) && !empty($_SESSION['password'])) { 
			include "libfunc.php";
			if($_GET['id'])
			{
			$link = koneksi_db();
			$id=$_GET['id'];
			$sql = "call HapusKategori('$id')";
			 mysql_query( $sql,$link);
			}
			}else {
			echo "<script language='javascript'>window.location = '../admin/'</script>";
			}

?>